package com.heima;

public class Student {
    private String name;
    private int age;
    private String majority;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getMajority() {
        return majority;
    }

    public void setMajority(String majority) {
        this.majority = majority;
    }

    public Student(String name, int age, String majority) {
        this.name = name;
        this.age = age;
        this.majority = majority;
    }

    public Student() {
    }
}
